// -*-c++-*- Copyright (C) 2011 osgPango Development Team
// $Id$

#ifndef OSGPANGO_DISTANCE_FIELD_TEXT
#define OSGPANGO_DISTNACE_FIELD_TEXT

#include <osgPango/TextTransform>

namespace osgPango {

//! This class derives from TextTransform but overrides calculatePosition to call the
//! GlyphRenderer's updateScale() method (if the assigned GlyphRenderer is a
//! DistanceField renderer, of course).
class OSGPANGO_EXPORT DistanceFieldText: public TextTransform {
public:
	virtual void calculatePosition();
};

}

#endif
